<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Verwijder een veiling</title>
</head>
<body>
<%@include file="/WEB-INF/header.jsp"%>
	<c:if test="${UserBean.loggedIn == true }">
		<table id="veilingTable">
			<tbody>
				<c:forEach items="${mijnVeilingen}" var="veiling">
					<tr>
						<td><A HREF='VeilingServlet?veiling=<c:out value="${veiling.id}"/>'><c:out
							value="${veiling.veilingNaam}" /> </A></td>
						<td>
						<form method="post" action="VeilingServlet?deleteVeiling=${veiling.id}">
						<input type="submit" value="Delete veiling" />
						</form>	
						</td>
					</tr>			
			</c:forEach>
			</tbody>
		</table>
	</c:if>





<%@include file="/WEB-INF/Message.jsp"%>
<%@include file="/WEB-INF/footer.jsp"%>


</body>
</html>